package com.aceleeyy.sevenstar.dao;

import com.aceleeyy.sevenstar.model.SearchInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SearchInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SearchInfo record);

    int insertSelective(SearchInfo record);

    SearchInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SearchInfo record);

    int updateByPrimaryKey(SearchInfo record);

    List<SearchInfo> selectByUserId(Integer userId);

    int deleteByUserId(Integer userId);
}